fix: revert to v0.2 manifest for Claude Desktop compatibility#144
Closed
bryan-anthropic wants to merge 1 commit intomodelcontextprotocol:mainfrom
Closed
Conversation
Claude Desktop does not yet support v0.3 manifests (localization/theming features). Reverting LATEST_MANIFEST_VERSION to v0.2 until Desktop support is available. Changes: - Set LATEST_MANIFEST_VERSION back to "0.2" in src/shared/constants.ts - Updated src/schemas/latest.ts to export v0.2 schema - Updated src/schemas_loose/latest.ts to export v0.2 schema - Updated test manifests and test assertions to match new default - v0.3 schema remains available for testing via explicit import This fixes the issue where npx mcpb pack rejects v0.2 manifests that Claude Desktop requires, introduced in PR modelcontextprotocol#132 (commit 1640ade). Fixes compatibility with Claude Desktop versions that only support v0.2. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Contributor
|
Hey @bthompson-sys, sorry for the churn here. We just landed #145 which does the following:
Hopefully that unblocks you. It should be released shortly as |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Current state (v1.1.5 published to npm):
mcpb packrequiresmanifest_version: "0.3"This was introduced in PR #132 (commit 1640ade) when v0.3 schema with localization/theming was added.
Solution
Revert
LATEST_MANIFEST_VERSIONback to"0.2"until Claude Desktop adds v0.3/v1.0 support.Changes:
LATEST_MANIFEST_VERSION = "0.2"insrc/shared/constants.tssrc/schemas/latest.tsto export v0.2 schemasrc/schemas_loose/latest.tsto export v0.2 schemaTesting
Before fix (current v1.1.5):
$ mcpb pack ERROR: Manifest validation failed: - manifest_version: Invalid literal value, expected "0.3"After fix:
$ mcpb pack Validating manifest... Manifest schema validation passes! 📦 Successfully packedNotes
import { v0_3 } from '@anthropic-ai/mcpb/schemas'Related